import yagmail
def sendy_mail(abc):
    mail=yagmail.SMTP(user='3410814171@qq.com',password='aehgyhglvitkcihc',host='smtp.qq.com')
    mail.send(to='3410814171@qq.com',subject="维度电商系统接口测试报告",contents="测试报告",attachments=abc)